package org.adobe.utils {
	import flash.utils.ByteArray;

	public class ObjectUtils {
		public function ObjectUtils(){
		}

		/**对象的深度拷贝**/
		public static function copy(value:Object):Object {
			var bytes:ByteArray = new ByteArray();
			bytes.writeObject(value);
			bytes.position = 0;
			var result:Object = bytes.readObject();
			
			return result;
		}
	}
}